package com.ruoyi.project.service;

import com.ruoyi.project.domain.HouseProjectT;
import com.ruoyi.project.domain.ParameterSingleVO;

import java.util.List;

/**
 * 维修项目Service接口
 *
 * @author tuyeqi
 * @date 2023-05-15
 */
public interface IHouseProjectTService {
    /**
     * 查询维修项目
     *
     * @param Id 维修项目主键
     * @return 维修项目
     */
    public HouseProjectT selectHouseProjectTById(Long Id);

    public HouseProjectT selectHouseProjectTByProjectId(String projectId);

    /**
     * 查询维修项目列表
     *
     * @param houseProjectT 维修项目
     * @return 维修项目集合
     */
    public List<HouseProjectT> selectHouseProjectTList(HouseProjectT houseProjectT);
    public HouseProjectT selectRepairAll(HouseProjectT houseProjectT);

    public HouseProjectT selectHouseProjectSum(HouseProjectT houseProjectT);
    public HouseProjectT selectRepairBySignSts(HouseProjectT houseProjectT);

    /**
     * 新增维修项目
     *
     * @param houseProjectT 维修项目
     * @return 结果
     */
    public int insertHouseProjectT(HouseProjectT houseProjectT);

    /**
     * 批量删除维修项目
     *
     * @param ids 需要删除的维修项目主键集合
     * @return 结果
     */
    public int deleteHouseProjectTByIds(Long[] ids);

    /**
     * 删除维修项目信息
     *
     * @param id 维修项目主键
     * @return 结果
     */
    public int deleteHouseProjectTById(Long id);

    public int deleteRepairForRefund(HouseProjectT houseProjectT);

    public int getProjectId();

    public int updateSts(HouseProjectT houseProjectT);

    public int updateRepairDate(HouseProjectT houseProjectT);

    public int updateRepairMoney(HouseProjectT houseProjectT);

    public int updateDoorMoney(HouseProjectT houseProjectT);
    public int updateRepairRevoke(HouseProjectT houseProjectT);

    public List<HouseProjectT> getProjectUser(HouseProjectT houseProjectT);

    public List<HouseProjectT> getRepairListAll(HouseProjectT houseProjectT);

    public ParameterSingleVO getSysParams(ParameterSingleVO vo);

    public int updateHouseProjectT(HouseProjectT houseProjectT);
}
